﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace VOL.Team.DTOS
{
    /// <summary>
    /// 每日计划数据传输对象
    /// </summary>
    public class DailyPlanTeamledgerDTO
    {
        /// <summary>
        ///主键
        /// </summary>

        public int DailId { get; set; }

        /// <summary>
        ///计划编码
        /// </summary>

        public string PlanCode { get; set; }

        /// <summary>
        ///订单编码
        /// </summary>

        public string OrderCode { get; set; }

        /// <summary>
        ///工艺线路
        /// </summary>

        public string Line { get; set; }

        /// <summary>
        ///计划目标日期
        /// </summary>

        public DateTime TargetTime { get; set; }

        /// <summary>
        ///当日计划产量
        /// </summary>

        public int Yield { get; set; }

        /// <summary>
        ///当日实际产量
        /// </summary>

        public int Actual { get; set; }

        /// <summary>
        ///日次品数量
        /// </summary>

        public int Defective { get; set; }

        /// <summary>
        ///一次通过率
        /// </summary>

        public decimal PassRate { get; set; }

        /// <summary>
        ///每件实际耗时
        /// </summary>

        public int ActualTake { get; set; }

        /// <summary>
        ///班组
        /// </summary>
        public string Team { get; set; }

        /// <summary>
        ///早班开始时间
        /// </summary>

        public DateTime? MorningshiftStarttim { get; set; }

        /// <summary>
        ///早班结束时间
        /// </summary>

        public DateTime? MorningshiftEndtime { get; set; }

        /// <summary>
        ///早班 1 开始时间
        /// </summary>

        public DateTime? FirstmorningShiftStarttime { get; set; }

        /// <summary>
        ///早班 1 结束时间
        /// </summary>

        public DateTime? FirstmorningShiftEndtime { get; set; }

        /// <summary>
        ///中班开始时间
        /// </summary>

        public DateTime? MiddleShiftStartTime { get; set; }

        /// <summary>
        ///中班结束时间
        /// </summary>

        public DateTime? MiddleShiftEndTime { get; set; }

        /// <summary>
        ///中班 1 开始时间
        /// </summary>

        public DateTime? FirstmiddleShiftStartTim { get; set; }

        /// <summary>
        ///中班 1 结束时间
        /// </summary>

        public DateTime? FirstmiddleShiftEndTime { get; set; }

        /// <summary>
        ///晚班开始时间
        /// </summary>

        public DateTime? EveningShiftStartTime { get; set; }

        /// <summary>
        ///晚班结束时间
        /// </summary>

        public DateTime? EveningShiftEndTime { get; set; }

        /// <summary>
        ///晚班 1 开始时间
        /// </summary>

        public DateTime? FirsteveningShiftStartTime { get; set; }

        /// <summary>
        ///晚班 1 结束时间
        /// </summary>

        public DateTime? FirsteveningShiftEndTime { get; set; }

        /// <summary>
        ///标定每件耗时
        /// </summary>

        public int CalibratedTimePerPiece { get; set; }

        /// <summary>
        ///实际每件耗时
        /// </summary>

        public int ActualTimePerPiece { get; set; }





        /// <summary>
        ///
        /// </summary>

        public int TeamId { get; set; }

        /// <summary>
        ///班组台账
        /// </summary>

        public string TeamName { get; set; }

        /// <summary>
        ///负责人
        /// </summary>

        public string Duty { get; set; }

        /// <summary>
        ///联系方式
        /// </summary>

        public string Phone { get; set; }

        /// <summary>
        ///班组人数
        /// </summary>

        public int TeamNum { get; set; }

    }
}
